[INFO] cloning repository https://github.com/TateStaples/RustTests
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TateStaples/RustTests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateStaples%2FRustTests", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateStaples%2FRustTests'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5fc3f8ad408ec75dfc69e7d304eeb8232cb6c3e
[INFO] checking TateStaples/RustTests against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateStaples%2FRustTests" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TateStaples/RustTests on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TateStaples/RustTests
[INFO] finished tweaking git repo https://github.com/TateStaples/RustTests
[INFO] tweaked toml for git repo https://github.com/TateStaples/RustTests written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/TateStaples/RustTests already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b39edb4c0c18b2b66f1211bee13c795b5afdfd28cdffc6eba8fd9b5f5ea072d0
[INFO] running `Command { std: "docker" "start" "-a" "b39edb4c0c18b2b66f1211bee13c795b5afdfd28cdffc6eba8fd9b5f5ea072d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b39edb4c0c18b2b66f1211bee13c795b5afdfd28cdffc6eba8fd9b5f5ea072d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b39edb4c0c18b2b66f1211bee13c795b5afdfd28cdffc6eba8fd9b5f5ea072d0", kill_on_drop: false }`
[INFO] [stdout] b39edb4c0c18b2b66f1211bee13c795b5afdfd28cdffc6eba8fd9b5f5ea072d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de20dcfdd6af3ec641072481f307bf47da087c19d529249bf817d20cdff6f9df
[INFO] running `Command { std: "docker" "start" "-a" "de20dcfdd6af3ec641072481f307bf47da087c19d529249bf817d20cdff6f9df", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking RustTests v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]  --> src/leetcode.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     }
[INFO] [stdout]   |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]  --> src/leetcode.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     }
[INFO] [stdout]   |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sdl2::libc::kevent`
[INFO] [stdout]  --> src/minesweeper.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::libc::kevent;
[INFO] [stdout]   |     ^^^^^^^^^^^^------
[INFO] [stdout]   |     |           |
[INFO] [stdout]   |     |           help: a similar name exists in the module: `servent`
[INFO] [stdout]   |     no `kevent` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `main` in module `leetcode`
[INFO] [stdout]   --> src/main.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     leetcode::main()
[INFO] [stdout]    |               ^^^^ not found in `leetcode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::connect4::main;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::snake::main;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::tic_tac_toe::main;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::wordle::main;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `main`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 16 -     leetcode::main()
[INFO] [stdout] 16 +     main()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/tic_tac_toe.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ptr::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]  --> src/tic_tac_toe.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     while(!board.over()) {
[INFO] [stdout]   |          ^             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 6 -     while(!board.over()) {
[INFO] [stdout] 6 +     while !board.over() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/connect4.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/connect4.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/connect4.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]  --> src/connect4.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |     while(!g.over()) {
[INFO] [stdout]   |          ^         ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -     while(!g.over()) {
[INFO] [stdout] 8 +     while !g.over() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::Slice`
[INFO] [stdout]  --> src/minesweeper.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::distributions::Slice;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventType`
[INFO] [stdout]  --> src/minesweeper.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::event::{Event, EventType};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventPump`
[INFO] [stdout]  --> src/minesweeper.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::{EventPump, Sdl};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::event::EventType::MouseButtonDown`
[INFO] [stdout]  --> src/minesweeper.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::event::EventType::MouseButtonDown;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MouseState`, `MouseUtil`
[INFO] [stdout]  --> src/minesweeper.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::mouse::{MouseState, MouseUtil};
[INFO] [stdout]   |                   ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::arch::x86_64::_rdrand32_step`
[INFO] [stdout]  --> src/snake.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::arch::x86_64::_rdrand32_step;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`
[INFO] [stdout]  --> src/snake.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/snake.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/snake.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     'game_loop: loop {
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/wordle.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sdl2::libc::kevent`
[INFO] [stdout]  --> src/minesweeper.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::libc::kevent;
[INFO] [stdout]   |     ^^^^^^^^^^^^------
[INFO] [stdout]   |     |           |
[INFO] [stdout]   |     |           help: a similar name exists in the module: `servent`
[INFO] [stdout]   |     no `kevent` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `main` in module `leetcode`
[INFO] [stdout]   --> src/main.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     leetcode::main()
[INFO] [stdout]    |               ^^^^ not found in `leetcode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::connect4::main;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::snake::main;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::tic_tac_toe::main;
[INFO] [stdout]    |
[INFO] [stdout] 8  + use crate::wordle::main;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `main`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 16 -     leetcode::main()
[INFO] [stdout] 16 +     main()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/tic_tac_toe.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ptr::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]  --> src/tic_tac_toe.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     while(!board.over()) {
[INFO] [stdout]   |          ^             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 6 -     while(!board.over()) {
[INFO] [stdout] 6 +     while !board.over() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/connect4.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/connect4.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/connect4.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]  --> src/connect4.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |     while(!g.over()) {
[INFO] [stdout]   |          ^         ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -     while(!g.over()) {
[INFO] [stdout] 8 +     while !g.over() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::Slice`
[INFO] [stdout]  --> src/minesweeper.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::distributions::Slice;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventType`
[INFO] [stdout]  --> src/minesweeper.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::event::{Event, EventType};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventPump`
[INFO] [stdout]  --> src/minesweeper.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::{EventPump, Sdl};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::event::EventType::MouseButtonDown`
[INFO] [stdout]  --> src/minesweeper.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::event::EventType::MouseButtonDown;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MouseState`, `MouseUtil`
[INFO] [stdout]  --> src/minesweeper.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::mouse::{MouseState, MouseUtil};
[INFO] [stdout]   |                   ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::arch::x86_64::_rdrand32_step`
[INFO] [stdout]  --> src/snake.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::arch::x86_64::_rdrand32_step;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`
[INFO] [stdout]  --> src/snake.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/snake.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/snake.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     'game_loop: loop {
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/wordle.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/leetcode.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]   |                                                             --- expected `i32` because of return type
[INFO] [stdout] 5 |         nums.
[INFO] [stdout]   |         ^^^^ expected `i32`, found `&mut Vec<i32>`
[INFO] [stdout]   |
[INFO] [stdout]   = note:           expected type `i32`
[INFO] [stdout]           found mutable reference `&mut Vec<i32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/leetcode.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]   |                                                             --- expected `i32` because of return type
[INFO] [stdout] 5 |         nums.
[INFO] [stdout]   |         ^^^^ expected `i32`, found `&mut Vec<i32>`
[INFO] [stdout]   |
[INFO] [stdout]   = note:           expected type `i32`
[INFO] [stdout]           found mutable reference `&mut Vec<i32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustTests` (bin "RustTests" test) due to 5 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustTests` (bin "RustTests") due to 5 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "de20dcfdd6af3ec641072481f307bf47da087c19d529249bf817d20cdff6f9df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de20dcfdd6af3ec641072481f307bf47da087c19d529249bf817d20cdff6f9df", kill_on_drop: false }`
[INFO] [stdout] de20dcfdd6af3ec641072481f307bf47da087c19d529249bf817d20cdff6f9df
